<?php
//-个人中心模板
use yii\helpers\Url;
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>筛选页</title>
<link rel="stylesheet" type="text/css" href="/knowMap/frontend/web/statics/css/normal.css">
<script src="/knowMap/frontend/web/statics/js/jquery-3.1.1.js" type="text/javascript"></script>
</head>

<body>

<div class="header">
	<div class="page-container" id="nav">
    	<!-- logo-->
		<div id="logo" class="logo">
    	<a href="#" target="" class="hide-text">资源融合系统</a>
    	</div>
        <!--导航 -->
    	<div class="g-menu-mini l">
            <a href="javascript:;" class="menu-ctrl">
                <i class="sz-list"></i>
            </a>
            <ul class="nav-item l">                        
                       <?php
            $mycontroller=Yii::$app->controller->id;
            if($mycontroller=="site")//获取控制器的名称
            {
            echo '<li><a href="./index.php?r=site/index" class="active" target="">首页</a></li>';
            }else {
             echo '<li><a href="./index.php?r=site/index" target="_self">首页</a></li>';
            }
            if($mycontroller=="normal")//获取控制器的名称
            {
            echo '<li><a href="./index.php?r=normal/index" class="active" target="_self">标准图谱</a></li>';
            }else {
             echo '<li><a href="./index.php?r=normal/index" target="_self">标准图谱</a></li>';
            }
            
            echo '<li><a href="#" target="_self">公开图谱</a></li>';
            if($mycontroller=="user")//获取控制器的名称
            {
            echo '<li><a href="./index.php?r=user/index" class="active" target="_self">个人中心</a></li>';
            }else {
             echo '<li><a href="./index.php?r=user/index" target="_self">个人中心</a></li>';
            }
            ?>
            </ul>
           <!--<li><a href="http://www.imooc.com/wenda" target="_self">猿问</a></li>-->
        </div>
        
        <!-- 搜索开始 -->
        <form class="navbar-form" action="/search" method="get">
        <div class="subject myleft">
        <select name="fangyuanEntity.fyDhCode" id="fyDh" class="ui_select01">
	                <option value="">选择学科</option>
	                <option value="12">数学</option>
	                <option value="13">物理</option>
	                <option value="15">化学</option>
	                <option value="18">生物</option>
                  </select>
        </div>
        <div class="grade myleft">
        <select name="fangyuanEntity.fyDhCode" id="fyDh" class="ui_select02">
	                <option value="">选择年级</option>
	                <option value="12">一年级</option>
	                <option value="13">二年级</option>
	                <option value="15">三年级</option>
	                <option value="18">四年级</option>
                  </select>
        </div>
        
        <div class="input-group myleft">
        <input type="text" class="form-control" name="q" placeholder="全站搜索">
        </div>
        <div class="submintBtn myleft">
        <button type="submit"><img src="/knowMap/frontend/web/statics/images/search.png" alt="搜索" /></button>
        </div>
        </form>
        
	</div>
</div>
    <!--个人中心 左侧 -->
 <div class="hr_15"></div>
<div class="comWidth clearfix products">
	<div class="leftArea">
		<div class="leftNav vertical" style="background-color:#F3F3F3; border:#D7D7D7 solid 1px;">
			<h3 class="nav_title">个人中心</h3>
			<div class="nav_cont">
				<h3>账户信息</h3>
				<ul class="navCont_list clearfix">
					<li><a href="./index.php?r=user/index">基本信息</a></li>
				</ul>
			</div>
			<div class="nav_cont">
				<h3>功能模块</h3>
				<ul class="navCont_list clearfix">
					<li><a href="<?php echo Url::to(['user/knowmap'])?>">个人图谱</a></li>
                                        <li><a href="<?php echo Url::to(['user/categoryman'])?>">分类标签管理</a></li>
					<li><a href="<?php echo Url::to(['user/know-manager'])?>">知识点管理</a></li>
                                        <li><a href="<?php echo Url::to(['user/uploadres'])?>">导入资源</a></li>
                                        <li><a href="<?php echo Url::to(['user/resmanager'])?>">资源管理</a></li>
                                        <li><a href="<?php echo Url::to(['user/res-relamanager'])?>">资源关联管理</a></li>
				</ul>
			</div>
		</div>
	</div>
    <?php echo $content;?>
</div>


</body>
</html>
